.sep {
    height: 60px; /*分割行*/
}

/*普通横向菜单*/
.menu1 {
    width: auto;
    height: 40px;
    background: transparent url("../image/menu_bg.png") repeat-x left top; /*背景图片和颜色,(..代表上一级，.代表本级(..代表menu，css的上一级即ldm))*/
    padding-left: 40px;
}

.menu1 ul {
    width: 1006px;
    height: 40px;
    margin: 0;
    padding: 0;
    list-style: none; /*消除无序列表前面的小黑点与上面两个边框属性配套使用*/
}

.menu1 li {
    float: left;
    width: 120px;
    text-align: center; /*文本居中*/
}

.menu1 a {
    display: block;
    text-decoration: none; /*去下划线*/
    line-height: 40px; /*行高*/
    color: black;
}

.menu1 a:hover {
    color: #ff3d3d; /*当鼠标悬停时，使字体颜色发生改变*/
}
.sep {
    height: 80px; /*分割行*/
}
/*下拉菜单（子菜单为纵向）*/
.menu2 {
    height: 40px;
    width: auto;
    background: #808080;
    padding-left: 40px;
}

.menu2 ul {
    width: 1006px;
    height: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu2 li {
    float: left;
    width: 120px;
    text-align: center;
}

.menu2 li a{
    display: block;
    color: #fff;
    text-decoration: none;
    width: 119px;
    line-height: 39px;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #808080;/*ul的高度为40px a的高度为：行高（39px）+底边（1px）=40px*/
    background: #808080;
    margin: 0;
    text-align: center;
}
.menu2 li a:hover{
    background: #666666;
    border-bottom: 1px dashed #cccccc;
}
/*默认隐藏下级菜单*/
.menu2 .submenu{
    visibility: hidden;
    width: 120px;
}
.menu2 li:hover .submenu{
    visibility: visible;
    position: relative;
    z-index: 100;
}
.menu2 .submenu li{
    float:none;
    height: 34px;
}
.menu2 .submenu a{
    background: #666666;
    line-height: 35px;
}
.menu2 .submenu a:hover{
    background: #333;
}


/*下拉菜单（子菜单为横向菜单）*/
.menu3{
    width: auto;
    height: 40px;
    background: #55aaee;
    padding-left: 40px;
    position: relative;
}
.menu3 ul{
    width: 1006px;
    height: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu3 li{
    float: left;
    width: 120px;
}
.menu3 li a{
    display: block;
    color: #fff;
    width: 119px;
    margin: 0;
    text-align: center;
    text-decoration: none;
    border-right: 1px solid #cccccc;/*下划线*/
    border-bottom: 1px solid #55aaee;
    background: #55aaee;
    line-height: 39px;
}
.menu3 li a:hover{
    color: #c82333;
    background: #fff;
    border-bottom: 1px dashed #ff0000;
}
.menu3 .submenu{
    height: 35px;
    display: none;
    position: absolute;
    left: 0;
    top: 40px;
    margin-left: 40px;
}
.menu3 .submenu li{
    height: 35px;
    width: 100px;
}
.menu3 .submenu a{
    color: #000;
    background: #fff;
    line-height: 34px;
    border: none;
}
.menu3 li:hover .submenu{
    display: block;
    background: #fff;
}
